package mynet;

/**
 * @Auther: cty
 * @Date: 2020/1/14 19:05
 * @Description:
 * @version: 1.0
 */
public class Be_UdpTeacher {
    public static void main(String[] args) {
        Be_UdpTalkReceive teaRec = new Be_UdpTalkReceive("学生",9999);
        Be_UdpTalkSend teaSend = new Be_UdpTalkSend(5555,"localhost",6666);

        new Thread(teaRec).start();
        new Thread(teaSend).start();
    }
}
